﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.ComponentModel.DataAnnotations;
using AuctionDataLayer;

namespace Auction_Intranet.Models
{
    public class AcceptInvitationModel
    {
        public Invitation invitation { get; set; }

        [Display(Name = "Credit to add")]
        [RegularExpression("([1-9][0-9]*)", ErrorMessage = "Positive number required for credit.")]  
        public int creditToAdd { get; set; }
    }
}
